{extend name="base"}
{block name="content"}
		<div class="wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Member/userinfo')}">修改信息</a></li>
			<li><a href="{:url('Member/uppwd')}">修改密码</a></li>
		</ul>
		<form class="form-horizontal js-ajax-form" method="post" action="">
			<fieldset>
				<div class="control-group">
					<label class="control-label" for="input-user_nicename">昵称</label>
					<div class="controls">
						<input type="hidden" name="id" value="1">
						<input type="text" id="input-user_nicename" name="nickname" value="{$list.nickname}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-gender">性别</label>
					<div class="controls">
						<select name="gender" id="input-gender">
							<option value="0" {if condition="$list.gender eq 0"} selected {/if}>保密</option>								
							<option value="1" {if condition="$list.gender eq 1"} selected {/if}>男</option>								
							<option value="2" {if condition="$list.gender eq 2"} selected {/if}>女</option>						
						</select>
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-birthday">生日</label>
					<div class="controls">
						<input class="js-date date" type="text" id="input-birthday" placeholder="{$list.birthday}" name="birthday" value="{$list.birthday}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-user_url">个人网址</label>
					<div class="controls">
						<input type="text" id="input-user_url" placeholder="http://tpframe.com" name="url" value="{$list.url}">
					</div>
				</div>
				<div class="control-group">
					<label class="control-label" for="input-signature">个性签名</label>
					<div class="controls">
						<textarea id="input-signature" placeholder="个性签名" name="signature">{$list.signature}</textarea>
					</div>
				</div>
				<div class="form-actions">
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
				</div>
			</fieldset>
		</form>
	</div>
		<script src="__THEMES__/js/common.js"></script>
{/block}